package org.clipjoint.service;

import org.clipjoint.entity.dto.CommentDto;
import org.clipjoint.entity.Comment;

import java.sql.SQLException;
import java.util.List;

public interface CommentAdminService {

    List<Comment> list(CommentDto commentDto) throws SQLException;

    Long count(CommentDto commentDto) throws SQLException;


    int deleteAll(List<Long> ids);

    int del(Long id) throws SQLException;

    Comment getOneById(Long id) throws SQLException;

    List<Comment> show(Long gameid) throws SQLException;

    int add(Comment build) throws SQLException;
}
